const departmentInfo = [{
	label: '总公司',
	id: 2,
	children: [{
			label: '财务部',
			id: 1,
			children: [{
				label: '出纳',
				id: 3
			}]
		},
		{
			label: '研发部',
			id: 4,
			children: [{
					label: '大数据',
					id: 5,
					children: [{
						label: 'java',
						id: 6
					}]
				},
				{
					label: '数据备份',
					id: 7,
					children: [{
							label: 'c++',
							id: 8
						},
						{
							label: 'c++1',
							id: 8
						}
					]
				}
			]
		}
	],
}]

module.exports = [{
	url: '/xue-admin/department/tree',
	type: 'get',
	response: config => {
		return {
			code: 200,
			data: departmentInfo
		}
	}
}]
